package kuonjisai;

import excercise.Q40_Books;
import excercise.Q40_Novel;
import excercise.Q40_Poet;
import excercise.Q40_ScienceFiction;

public class test01 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Q40_Novel novel01 = new Q40_Novel("333", "오오오", "이이잉");
		Q40_Poet poet01 = new Q40_Poet("333", "오오오", "이이잉");
		
		if( novel01.getMno().equals( poet01.getMno() ) ) {
			System.out.println( "두 책은 동일합니다." );
			
		}
		else {
			System.out.println( "전혀~ 같지않어" );
		}
			
	}

}
